package Structural.Proxy.aop.SpringAOP;

import java.util.HashMap;
import java.util.Map;

public class Result {

    private Map map = new HashMap();

    private boolean success;

    private String message;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean suceess) {
        this.success = suceess;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public <K,V> void put(K k,V v){
        map.put(k,v);
    }

    public <K> Object get(K k){
       return map.get(k);
    }
}
